# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-htsql
_pkgname=sphinxcontrib-htsql
pkgver=0.1.5
pkgrel=3
pkgdesc="Sphinx htsql extension"
url="https://pypi.python.org/pypi/sphinxcontrib-htsql"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-htsql" # Backwards compatibility
provides="py-sphinxcontrib-htsql=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="778114bd18f3f0d3f08465ccb477949d7934eca2223d346cc130cbb9256572d769082b86436ce60211b030965155792c6ab6d02074fd47d3838a26c906092de6  sphinxcontrib-htsql-0.1.5.tar.gz"
